package com.atguigu.spzx.mapper;

import com.atguigu.spzx.model.entity.system.SysRole;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SysRoleUserMapper {
    void doAssign(@Param("userId") Long userId, @Param("roleId") Long roleId);

    void deleteByUserId(Long userId);

    List<Long> findSysUserRoleByUserId(Long id);
}
